
export default [
    {
        path:"/home",
        getComponents(location, callback) {
            require.ensure([], function (require) {
                callback(null, require('../view/home').default)
            })
        }
    },
    {
        path:"/login",
        getComponents(location, callback) {
            require.ensure([], function (require) {
                callback(null, require('../view/login').default)
            })
        }
    },
    {
        path:"*",
        getComponents(location, callback) {
            require.ensure([], function (require) {
                callback(null, require('../view/404').default)
            })
        }
    }
];